-
Home
-
Smartcat Translator for WPML
-
3.0.0
-
Code
-
Classes
- SmartcatWpml
Total Complexity |
30 |
Dependencies |
1 |
Dependents |
6 |
Total lines |
183 |
Lines of code |
131 |
Logical lines of code |
61 |
Comment lines |
4 |
Methods |
18 |
Properties |
2 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getIdsBySourceElements() |
S |
55 |
7 |
19 |
getElementLanguages() |
S |
62 |
3 |
11 |
getActiveLocales() |
S |
62 |
3 |
11 |
getTargetElementId() |
S |
63 |
3 |
10 |
getStrings() |
S |
55 |
1 |
19 |
getTranslatedPostIds() |
S |
59 |
1 |
14 |
__construct() |
S |
73 |
1 |
5 |
getActiveLanguages() |
S |
79 |
1 |
3 |
getPostLanguageName() |
S |
78 |
1 |
3 |
getPostLanguageCode() |
S |
78 |
1 |
3 |
getTranslationsTable() |
S |
80 |
1 |
3 |
getPostLocale() |
S |
74 |
1 |
4 |
registerString() |
S |
78 |
1 |
3 |
switchLang() |
S |
76 |
1 |
4 |
addTranslation() |
S |
64 |
1 |
10 |
getTranslations() |
S |
78 |
1 |
3 |
getTrid() |
S |
78 |
1 |
3 |
makeDuplicate() |
S |
79 |
1 |
3 |